A public defender, also known as a court-appointed attorney, legal aid lawyer, or pro bono counsel, is a lawyer who provides legal representation to individuals who cannot afford to hire a private attorney. The term "public defender" may vary depending on the jurisdiction. In some places, they are called "government attorneys," "criminal defense lawyers," or "indigent defense attorneys." Whatever the name, their role is crucial in ensuring that everyone has access to legal representation, regardless of their financial situation. Public defenders often work for nonprofit organizations or government agencies and focus primarily on criminal defense cases, but they may also represent clients in civil matters like immigration and family law.